package com.unbook.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@Builder
@TableName("book_type")
public class BookType {
    @TableId(value = "b_t_id", type = IdType.ASSIGN_ID)
    private Integer id;
    @TableField("name")
    private String name;
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;
}
